<?php
class Pageley_Dummy_Domain_Dummy extends Pageley_Domain_BasicEntity {
    private static $type;
    
    public function __construct() {
        parent::__construct(self::type());
    }
    
    public static function type() {
        if(self::$type === null) {
            $string = new Pageley_Domain_Attribute_Basic("string");
            $namespace = new Pageley_Domain_BasicNamespace("urn:dummy.pageley.org:1.0.0", "dummy", "dummy");
            self::$type = new Pageley_Domain_BasicType(
    			$namespace,
    			"Dummy",
    			new Pageley_Util_ArrayMap(array(
    				"name" => $string,
    				"dummyType" => $string
    			))
    		);
        }
        return self::$type;
    }
}